﻿@model ClevelandFreeClinic.Models.Announcement

@{
    ViewBag.Title = "Delete";
}
<style type="text/css">
    #DeleteAnnouncement {
        background-color: white;
        text-align: left;
        font-family: Arial;
        font-weight: 100;
        
        border: 2px solid gray;
    
    }

</style>
<h2 style="color:#fff;">Delete Announcement</h2>

<div id="DeleteAnnouncement">
        <div style="padding: 60px;">
            <h3>Are you sure you want to delete this Announcement?</h3>
            <fieldset >
                <legend></legend>

                
                <div class="display-field" style="font-size:larger;">
                    @Html.DisplayFor(model => model.AnnouncmentText)
                </div>
                 <br /> <br />
               <div class="editor-label">
                    @Html.LabelFor(model => model.Display, new {style = "font-weight: 500;" })
                </div>
                <div class="editor-field">
                    @Html.CheckBoxFor(model => model.Display, new {style = "width: 30px; height:30px;"})
                    @Html.ValidationMessageFor(model => model.Display)
                </div>
                <br />
            </fieldset>

            @using (Html.BeginForm()) {
                @Html.AntiForgeryToken()
                <p>
                    <input type="submit" value="Delete" /> |
                    @Html.ActionLink("Back to List", "Index")
                </p>
            }
    </div>
</div>